﻿using MediatR;
using RearLivestock.Common.Dtos;

namespace RearLivestock.Beginning.Api.Application.Command.PigDeath
{
    public class QueryPigDeathCommand:IRequest<Result<PageResultDto<PigDeathDto>>>
    {
        /// <summary>
        /// 死亡日期
        /// </summary>
        //public DateTime PigDeathDate { get; set; }
        /// <summary>
        /// 猪只耳号
        /// </summary>
        public int BasicInforId { get; set; }
        /// <summary>
        /// 死亡原因
        /// </summary>
        public int DeathReasonId { get; set; }
        /// <summary>
        /// 当前页
        /// </summary>
        public int pageIndex { get; set; }
        /// <summary>
        /// 页索引
        /// </summary>
        public int pageSize { get; set; }
    }
}
